Package com.bitmovin.player.api

Types

Link copied to clipboard
sealed class DeviceDescription : Parcelable

Describes a device.

Link copied to clipboard
data class LicensingConfig(delay: Int) : Parcelable

Configures the behaviour of the license evaluation.

Link copied to clipboard
data class PlaybackConfig(isAutoplayEnabled: Boolean, isMuted: Boolean, isTimeShiftEnabled: Boolean, videoCodecPriority: List<String>, audioCodecPriority: List<String>, isTunneledPlaybackEnabled: Boolean, seekMode: SeekMode, forcedSubtitleCallback: ForcedSubtitleCallback?, audioFilter: MediaFilter, videoFilter: MediaFilter) : Parcelable

Configures the playback behaviour of the player.

Link copied to clipboard
interface Player : EventEmitter<Event> , RemoteControlApi

Loads, controls and renders audio and video content represented through Sources. A player instance can be created via the Player.create function and will idle until one or more Sources are loaded. Once load is called, the player starts a playback session and initiates necessary downloads to start playback of the loaded source(s).

Link copied to clipboard
data class PlayerConfig(key: String?, styleConfig: StyleConfig, playbackConfig: PlaybackConfig, licensingConfig: LicensingConfig, advertisingConfig: AdvertisingConfig, remoteControlConfig: RemoteControlConfig, adaptationConfig: AdaptationConfig, networkConfig: NetworkConfig, liveConfig: LiveConfig, tweaksConfig: TweaksConfig, bufferConfig: BufferConfig) : Parcelable

Configures a new Player instance. Must not be modified after it was used to create a Player instance.

Link copied to clipboard
enum SeekMode : Enum<SeekMode> , Parcelable

Represents the mode the player uses to seek.

Link copied to clipboard
data class TimeRange(start: Double, end: Double)

A time range in seconds.

Link copied to clipboard
data class TweaksConfig(timeChangedInterval: Double, bandwidthEstimateWeightLimit: Int, languagePropertyNormalization: Boolean, localDynamicDashWindowUpdateInterval: Double?, useFiletypeExtractorFallbackForHls: Boolean, useDrmSessionForClearPeriods: Boolean, useDrmSessionForClearSources: Boolean, shouldApplyTtmlRegionWorkaround: Boolean, devicesThatRequireSurfaceWorkaround: List<DeviceDescription>) : Parcelable

This configuration is used as an incubator for experimental features. Tweaks are not officially supported and are not guaranteed to be stable, i.e. their naming, functionality and API can change at any time within the tweaks or when being promoted to an official feature and moved into its final configuration namespace.